package com.bite.forum.services;

import com.bite.forum.model.Message;

import java.util.List;

public interface IMessageService {
    void create (Message message);

    Integer selectUnreadCount(Long receiveUserId);

    Message selectById (Long id);

    List<Message> selectByReceiveUserId (Long receiveUserId);

    void updateStateById (Long id, Byte state);

    void reply (Long repliedId, Message message);
}
